package com.fivec.javaproject.btcrpcentity;

/**
 * @author wangyizhu
 * @version "1.8.0_131"
 * @email 2641956765@qq.com
 * @desc:
 * @Time 2021/12/20 21:27
 */
public class ChainInfo {
    private long headers;
    private String chain;
    private long size_on_disk;
    private String bestblockhash;
    private long mediantime;
    private int blocks;
    private boolean pruned;
    private String warnings;
    private int pruneheight;
    private long prune_target_size;

    public long getHeaders() {
        return headers;
    }

    public void setHeaders(long headers) {
        this.headers = headers;
    }

    public String getChain() {
        return chain;
    }

    public void setChain(String chain) {
        this.chain = chain;
    }

    public long getSize_on_disk() {
        return size_on_disk;
    }

    public void setSize_on_disk(long size_on_disk) {
        this.size_on_disk = size_on_disk;
    }

    public String getBestblockhash() {
        return bestblockhash;
    }

    public void setBestblockhash(String bestblockhash) {
        this.bestblockhash = bestblockhash;
    }

    public long getMediantime() {
        return mediantime;
    }

    public void setMediantime(long mediantime) {
        this.mediantime = mediantime;
    }

    public int getBlocks() {
        return blocks;
    }

    public void setBlocks(int blocks) {
        this.blocks = blocks;
    }

    public boolean isPruned() {
        return pruned;
    }

    public void setPruned(boolean pruned) {
        this.pruned = pruned;
    }

    public String getWarnings() {
        return warnings;
    }

    public void setWarnings(String warnings) {
        this.warnings = warnings;
    }

    public int getPruneheight() {
        return pruneheight;
    }

    public void setPruneheight(int pruneheight) {
        this.pruneheight = pruneheight;
    }

    public long getPrune_target_size() {
        return prune_target_size;
    }

    public void setPrune_target_size(long prune_target_size) {
        this.prune_target_size = prune_target_size;
    }

    public int getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(int difficulty) {
        this.difficulty = difficulty;
    }

    public String getChainwork() {
        return chainwork;
    }

    public void setChainwork(String chainwork) {
        this.chainwork = chainwork;
    }

    public double getVerificationprogress() {
        return verificationprogress;
    }

    public void setVerificationprogress(double verificationprogress) {
        this.verificationprogress = verificationprogress;
    }

    public boolean isAutomatic_pruning() {
        return automatic_pruning;
    }

    public void setAutomatic_pruning(boolean automatic_pruning) {
        this.automatic_pruning = automatic_pruning;
    }

    private int difficulty;
    private String chainwork;
    private double verificationprogress;
    private boolean automatic_pruning;

}
